Optimal. Leaf size=35 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{2 \sqrt{a} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0711073, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {3229, 266, 63, 208} \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{2 \sqrt{a} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3229
Rule 266
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\cot (c+d x)}{\sqrt{a+b \sin ^4(c+d x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,\sin ^4(c+d x)\right )}{4 d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b \sin ^4(c+d x)}\right )}{2 b d}\\ &=-\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{2 \sqrt{a} d}\\ \end{align*}
Mathematica [A] time = 0.0254163, size = 35, normalized size = 1. \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{2 \sqrt{a} d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.717, size = 0, normalized size = 0. \begin{align*} \int{\cot \left ( dx+c \right ){\frac{1}{\sqrt{a+b \left ( \sin \left ( dx+c \right ) \right ) ^{4}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.47433, size = 369, normalized size = 10.54 \begin{align*} \left [\frac{\log \left (\frac{8 \,{\left (b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} - 2 \, \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt{a} + 2 \, a + b\right )}}{\cos \left (d x + c\right )^{4} - 2 \, \cos \left (d x + c\right )^{2} + 1}\right )}{4 \, \sqrt{a} d}, \frac{\sqrt{-a} \arctan \left (\frac{\sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt{-a}}{a}\right )}{2 \, a d}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cot{\left (c + d x \right )}}{\sqrt{a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14464, size = 42, normalized size = 1.2 \begin{align*} \frac{\arctan \left (\frac{\sqrt{b \sin \left (d x + c\right )^{4} + a}}{\sqrt{-a}}\right )}{2 \, \sqrt{-a} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]